// Mistrovstvi-v-cpp.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <iostream>
using namespace std;


int _tmain(int argc, _TCHAR* argv[])
{
	int a = 6;
	int b = 8;

	int *pt = new int;
	*pt = 10;

	cout << "pt = " << pt << endl;
	cout << "*pt = " << *pt << endl;
	
	delete pt;
	pt = &a;
	cout << "pt = " << pt << endl;
	cout << "*pt = " << *pt << endl;
	
	return 0;

}

